package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.bean.vo.returnPlan.SupervisoryConsoleVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.com.cifi.mars.entity.SupervisoryConsoleReturnDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 监控台-回明细表 Mapper 接口
 * </p>
 *
 * @author JingYuanXiang
 * @since 2020-12-28
 */
public interface SupervisoryConsoleReturnDetailMapper extends BaseMapper<SupervisoryConsoleReturnDetail> {

    SupervisoryConsoleReturnDetail getReturnDetailByOrgId(@Param("orgId") String orgId, @Param("reportDate") String reportDate);

    List<SupervisoryConsoleReturnDetail> getReturnDetailByParentId(@Param("parentId") String parentId, @Param("reportDate") String reportDate);

    void deleteByYearMonth(@Param("yearMonth") String yearMonth, @Param("isDel") int isDel);

    void insertList(@Param("list") List<SupervisoryConsoleVo> list);
}
